Laravel Mix
Compiling Assets (Mix) - Laravel - The PHP Framework For Web Artisans
An elegant wrapper around Webpack for the 80% use case.
Laravel Mix provides a clean, fluent API for defining basic webpack build steps for your Laravel application.
Mix supports several common CSS and JavaScript pre-processors.
API一覧
https://github.com/JeffreyWay/laravel-mix/blob/d14f7dca14071e503cd8b0dbccfbef7fc5b7f0f2/setup/webpack.mix.js#L16
https://github.com/JeffreyWay/laravel-mix/blame/30248e014f4555eb154dc7dc5912a16598b8df27/src/Api.js
testを見るとドキュメントにないものも含まれているので、こちらを眺めるほうが良さそう
https://github.com/JeffreyWay/laravel-mix/tree/master/test/features
.babelrcの設定がしたい
babelConfig()を使うか.babelrcを作成すればいい
https://github.com/JeffreyWay/laravel-mix/blob/cc816bb799cdd9b3900aaa60cf416b51b223e5ba/test/features/babel.js#L4
https://github.com/JeffreyWay/laravel-mix/blob/cc816bb799cdd9b3900aaa60cf416b51b223e5ba/test/features/babel.js#L31
2019-02-07 時点でこの機能はドキュメントには記載が見当たらない
デフォルト
https://github.com/JeffreyWay/laravel-mix/blob/v4.0.14/src/BabelConfig.js